<script setup lang="ts">
import {onLoad} from "@dcloudio/uni-app";
import {ref} from "vue";
import type {PageRecordRespVO} from "@/interfaces/book";
import BookInfo from "@/components/book-info/book-info.vue";

const data = ref<PageRecordRespVO>({
  createTime: "",
  detailList: [],
  id: "",
  status: 0,
  updateTime: "",
  username: ""
})
onLoad((e)=>{
  data.value = JSON.parse(e?.data)
})
</script>

<template>
<view>
  <book-info :book-info="data"></book-info>
</view>
</template>

<style scoped lang="scss">

</style>